#pragma once
#include "TestDefiend.h"
#include <shlwapi.h>
#include "..\StormWidgetBaseClassLibrary\bcl_pair.h"
 
class CTest_bcl_pair : public CPPUNIT_NS::TestFixture
{
	CPPUNIT_TEST_SUITE(CTest_bcl_pair);
	CPPUNIT_TEST(AssertIntConstructor);
	CPPUNIT_TEST(AssertFloatConstructor);
	CPPUNIT_TEST(AssertTcharConstructor);
	CPPUNIT_TEST(AssertTStringConstructor);
	CPPUNIT_TEST(AssertCompare1);
	CPPUNIT_TEST(AssertCompare2);
	CPPUNIT_TEST(AssertCompare3);
	CPPUNIT_TEST(AssertCompare4);
	CPPUNIT_TEST(AssertCompare5);
	CPPUNIT_TEST(AssertCompare6);
	CPPUNIT_TEST_SUITE_END();
public:
	void AssertIntConstructor();
	void AssertFloatConstructor();
	void AssertTcharConstructor();
	void AssertTStringConstructor();

	void AssertCompare1();
	void AssertCompare2();
	void AssertCompare3();
	void AssertCompare4();
	void AssertCompare5();
	void AssertCompare6();

private:
	bcl::pair<int,int> IntConstructor(int _a,int _b);
	bcl::pair<float,float> FloatConstructor(float _a,float _b);
	bcl::pair<TCHAR,TCHAR> TcharConstructor(TCHAR _a,TCHAR _b);
	bcl::pair<TCHAR*,TCHAR*> TStringConstructor(TCHAR* _pA,TCHAR* _pB);

public:
	CTest_bcl_pair(void);
	virtual ~CTest_bcl_pair(void);

};
